import Vue from "vue";
import Vuex from "vuex";
import createLogger from "vuex/dist/logger";
Vue.use(Vuex);

import articleModule from "./modules/article.js";

export default new Vuex.Store({
  strict: process.env.NODE_ENV === "development",
  plugins: [
    createLogger({
      logMutations: false,
    }),
  ],
  state: {},
  mutations: {},
  actions: {},
  modules: {
    article: articleModule,
  },
});
